# 	练习2：字符串统计：
# 		提示用户输入任意字符串，统计字符串中每个字符出现的次数

str = "abcabcjkl"
map1 = {}
for c in str:
    num = map1.get(c, 0)
    map1[c] = num + 1

print(map1)